package com.zr.java8.pattern.observer.impl;

import com.zr.java8.pattern.observer.Observer;

public class GuardianObserver implements Observer {
    @Override
    public void notice(String tweet) {
        if (tweet != null && tweet.contains("queen")) {
            System.out.println("Yet another new in London ..." + tweet);
        }
    }
}
